home *** CD-ROM | disk | FTP | other *** search
/ Team Palmtops 7 / Palmtops_numero07.iso / WinCE / SDKWindowsCE / HandHeldPCPro30 / sdk.exe / Jupiter SDK / data1.cab / MFC_Samples / cmnctrls / notifwdw.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-02-19  |  1.1 KB  |  58 lines

  1. // NotifySowCase.h : header file
  2. //
  3.  
  4. /////////////////////////////////////////////////////////////////////////////
  5. // CNotifySowCase window
  6.  
  7. #ifndef INC_NOTIFYSHOWCASE_H
  8. #define INC_NOTIFYSHOWCASE_H
  9.  
  10. typedef struct notif_tag 
  11. {
  12.     UINT    nCode;
  13.     TCHAR    sztCodeName[30];
  14. } notifDescrip;
  15.  
  16.  
  17. #define NOTIFCOUNT    23
  18.  
  19. class CNotifyShowCase : public CEdit
  20. {
  21. // Construction
  22. public:
  23.     CNotifyShowCase();
  24.     static notifDescrip m_rgNotifDescrip[NOTIFCOUNT];
  25.     
  26. // Attributes
  27. public:
  28.     int        m_totalLines;
  29.  
  30. // Operations
  31. public:
  32.  
  33. // Overrides
  34.     // ClassWizard generated virtual function overrides
  35.     //{{AFX_VIRTUAL(CNotifySowCase)
  36.     //}}AFX_VIRTUAL
  37.  
  38. // Implementation
  39. public:
  40.     virtual ~CNotifyShowCase();
  41.     void    SetBufferSize(int nLines) { m_totalLines = nLines;};
  42.     void    AddLine(LPCTSTR lpsz);
  43.     void    ShowNotification(UINT nCode);
  44.  
  45.     // Generated message map functions
  46. protected:
  47.     //{{AFX_MSG(CNotifySowCase)
  48.         // NOTE - the ClassWizard will add and remove member functions here.
  49.     //}}AFX_MSG
  50.  
  51.     DECLARE_MESSAGE_MAP()
  52. };
  53.  
  54. /////////////////////////////////////////////////////////////////////////////
  55.  
  56.  
  57. #endif
  58.